<div id="adv">
<{*width:960px; height:118px;*}>
<{foreach from=$advData item=v}>
	<{if $v.adv_position eq '2' }>
	<a href="<{$v.adv_link}>"><img alt="<{$v.adv_name}>" src="Admin/Upload/adv/<{$v.adv_pic}>" title="<{$v.adv_name}>"/></a>
	<{/if}>
<{foreachelse}>
	请在<font style="color:red;">主文件</font>中包含<font style="color:red;">comming/Public/Include/adv.php</font>,广告信息由这个文件传至模板
<{/foreach}>
</div>
<div id="flink">
	<!-- 友情链接作为一个数据表存在flink	 -->
	<h2 style="font-size:14px;">友情链接</h2>
	<ul>
	<{foreach from=$flinkData item=v}>
		<li><a href="<{$v.flink_link}>"><{$v.flink_title}></a></li>
	<{foreachelse}>
		<li>请在<font style="color:red;">主文件</font>中包含<font style="color:red;">comming/Public/Include/footer.php</font>,友情链接信息由这个文件传至模板</li>
	<{/foreach}>
	</ul>
</div>
<div id="footer">
<br/>
<div style="width:750px;">
	<p>(C)Copyright by YangLigao</p>
	<p>版权所有 翻版必究</p>
	<p>本程序由<span style="color:#06f;">Coming Eatting</span>提供;详情登陆www.comingeatting.com </p>
</div>	
</div>